package cn.book.admin.entity;
import  java.util.*;
public class Page<T> {
    public static final int PAGE_SIZE=5;
    private int pageNo=1;
    private int pageSize=PAGE_SIZE;
    private int pageTotal=0;
    private List<T> data=new ArrayList<>();

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageTotal() {
        return pageTotal;
    }

    public void setPageTotal(int pageTotal) {
        this.pageTotal = pageTotal;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
